// 首页相关的请求
import request from "@/utils/request";

/**
 * @description 获取轮播图数据
 * @param {{limit:number,page:number}} queryObj
 */
export function getCarouselChartData(queryObj) {
    return request({
        method: 'POST',
        url: '/frontend/rotation/list',
        data: queryObj
    })
}

export function getGoodList(queryObj) {
    return request({
        method: 'POST',
        url: '/frontend/goods/list',
        data: queryObj
    })
}